from v5.PageProcessor import PageProcessor
from v5.Page import Page
from v5.RequestItem import RequestItem
from bs4 import BeautifulSoup


class TestProcessor(PageProcessor):
    def process(self, page):
        soup = BeautifulSoup(page.get_download_result().text, 'lxml')
        res = soup.find(class_='issue-item__doi dot-separator')
        print(res['href'])
